﻿using System.Threading;

namespace InhVsCoup
{
    class VacationCalculator
    {
        private readonly ILogger _logger;

        public VacationCalculator(ILogger logger)
        {
            _logger = logger;
        }

        public void CalculateAviableDays()
        {
            _logger.LogInfo("Calc Aviable Days Start");
            //Какая-то логика
            Thread.Sleep(2000);
            _logger.LogInfo("Calc Aviable Days End");
        }
    }
}